home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _4BC7DC0B03774B9AA2E26D84832330C2 < prev    next >
Encoding:
Text File  |  2004-01-06  |  3.4 KB  |  131 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2.  
  3. Materials["mat_wood_sheet_p05"] = {
  4.  
  5.     type="mat_wood_sheet_p05",
  6.  
  7. -------------------------------------
  8.     PhysicsSounds=PhysicsSoundsTable.Hard,
  9. -------------------------------------    
  10.     bullet_drop_single = CommonEffects.common_bullet_drop_single_wood,
  11.     bullet_drop_rapid = CommonEffects.common_bullet_drop_rapid_wood,
  12. -------------------------------------    
  13.     bullet_hit = {
  14.         sounds = {
  15.             {"Sounds/Bullethits/Wsheet1.wav",SOUND_UNSCALABLE,200,5,60},
  16.             {"Sounds/Bullethits/Wsheet2.wav",SOUND_UNSCALABLE,200,5,60},
  17.             {"Sounds/Bullethits/Wsheet3.wav",SOUND_UNSCALABLE,200,5,60},
  18.             {"Sounds/Bullethits/Wsheet4.wav",SOUND_UNSCALABLE,200,5,60},
  19.         },
  20.         
  21.         decal = { 
  22.             texture = System:LoadTexture("Textures/Decal/wood.dds"),
  23.             scale = 0.04,
  24.         },
  25.         particleEffects = {
  26.             name = "bullet.hit_wood.a",
  27.         },
  28.     },
  29.  
  30.     pancor_bullet_hit = {
  31.         sounds = {
  32.             {"Sounds/Bullethits/Wsheet1.wav",SOUND_UNSCALABLE,200,5,60},
  33.             {"Sounds/Bullethits/Wsheet2.wav",SOUND_UNSCALABLE,200,5,60},
  34.             {"Sounds/Bullethits/Wsheet3.wav",SOUND_UNSCALABLE,200,5,60},
  35.             {"Sounds/Bullethits/Wsheet4.wav",SOUND_UNSCALABLE,200,5,60},
  36.             },
  37.         
  38.         decal = { 
  39.             texture = System:LoadTexture("Textures/Decal/wood.dds"),
  40.             scale = 0.04,
  41.                 },
  42.         particleEffects = {
  43.             name = "bullet.hit_wood_pancor.a",
  44.                 }, 
  45.     }, 
  46.  
  47.  
  48.     flashgrenade_hit =         
  49.     {
  50.             particles = 
  51.         {
  52.             { 
  53.                 focus = 0.5,
  54.                 color = {1,1,1},
  55.                 speed = 8.0, --default 5
  56.                 count = 120, --default 75
  57.                 size = 0.1, 
  58.                 size_speed=0,
  59.                 gravity = {x = 0.0, y = 0.0, z = -8},
  60.                 rotation = {x = 0.0, y = 0.0, z = 20},
  61.                 lifetime=2.00,
  62.                 tid = System:LoadTexture("textures\\sprites\\chip.dds"),
  63.                 tail_length = 0.0,
  64.                 frames=1,
  65.  
  66.             },
  67.         },
  68.     },
  69.     projectile_hit =     {
  70.     
  71.         particleEffects = {
  72.             name = "explosions.rocket.a",
  73.         },    
  74.             particles = 
  75.         {
  76.             { 
  77.                 focus = 0.5,
  78.                 color = {1,1,1},
  79.                 speed = 8.0, --default 5
  80.                 count = 120, --default 75
  81.                 size = 0.1, 
  82.                 size_speed=0,
  83.                 gravity = {x = 0.0, y = 0.0, z = -8},
  84.                 rotation = {x = 0.0, y = 0.0, z = 20},
  85.                 lifetime=2.00,
  86.                 tid = System:LoadTexture("textures\\sprites\\chip.dds"),
  87.                 tail_length = 0.0,
  88.                 frames=1,
  89.  
  90.             },
  91.         },
  92.     },
  93.     mortar_hit = CommonEffects.common_mortar_hit,
  94.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  95.  
  96.     grenade_hit = CommonEffects.common_grenade_hit,
  97.     melee_slash = {
  98.         sounds = {
  99.             {"sounds/weapons/machete/machetewood1.wav",SOUND_UNSCALABLE,185,5,30},
  100.             {"sounds/weapons/machete/machetewood2.wav",SOUND_UNSCALABLE,185,5,30},
  101.             {"sounds/weapons/machete/machetewood3.wav",SOUND_UNSCALABLE,185,5,30},
  102.         },
  103.         particles =  CommonEffects.common_machete_hit_wood_part.particles,
  104.     },
  105. -------------------------------------
  106.     player_walk = CommonEffects.player_wood_walk,
  107.     player_run = CommonEffects.player_wood_run,
  108.     player_crouch = CommonEffects.player_wood_crouch,
  109.     player_prone = CommonEffects.player_wood_prone,
  110.     player_walk_inwater = CommonEffects.player_walk_inwater,
  111.     
  112.     player_drop = {
  113.         sounds = {
  114.             {"sounds/player/bodyfalls/bodyfallwood1.wav",SOUND_UNSCALABLE,210,10,150},
  115.         },
  116. --        decal = { 
  117. --            texture = System:LoadTexture("Textures/Decal/Default.tga"),
  118. --            scale = 0.1,
  119. --        },
  120.     },
  121.     gameplay_physic = {
  122.         piercing_resistence = 15,
  123.         friction = 0.5,
  124.         bouncyness= 0.05, --default 0
  125.     },
  126.  
  127.     AI = {
  128.         fImpactRadius = 5,
  129.     },
  130.             
  131. }